package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * RuleSourcePackage entity. @author MyEclipse Persistence Tools
 */

public class RuleSourcePackage implements java.io.Serializable {

    // Fields

    private Integer rspId;
    private AllUser allUser;
    private String rspName;
    private String rspDescription;
    private Integer rspVersion;
    private Timestamp rspCreateTime;
    private Short rspPublic;
    private Short rspReleaseStatus;
    private String rspProvider;
    private String rspFileUrl;
    private Set rules = new HashSet(0);

    // Constructors

    /** default constructor */
    public RuleSourcePackage() {
    }

    /** minimal constructor */
    public RuleSourcePackage(AllUser allUser, String rspName, String rspDescription, Integer rspVersion,
            Timestamp rspCreateTime, Short rspPublic, Short rspReleaseStatus, String rspProvider, String rspFileUrl) {
        this.allUser = allUser;
        this.rspName = rspName;
        this.rspDescription = rspDescription;
        this.rspVersion = rspVersion;
        this.rspCreateTime = rspCreateTime;
        this.rspPublic = rspPublic;
        this.rspReleaseStatus = rspReleaseStatus;
        this.rspProvider = rspProvider;
        this.rspFileUrl = rspFileUrl;
    }

    /** full constructor */
    public RuleSourcePackage(AllUser allUser, String rspName, String rspDescription, Integer rspVersion,
            Timestamp rspCreateTime, Short rspPublic, Short rspReleaseStatus, String rspProvider,
            String rspFileUrl, Set rules) {
        this.allUser = allUser;
        this.rspName = rspName;
        this.rspDescription = rspDescription;
        this.rspVersion = rspVersion;
        this.rspCreateTime = rspCreateTime;
        this.rspPublic = rspPublic;
        this.rspReleaseStatus = rspReleaseStatus;
        this.rspProvider = rspProvider;
        this.rspFileUrl = rspFileUrl;
        this.rules = rules;
    }

    // Property accessors

    public Integer getRspId() {
        return this.rspId;
    }

    public void setRspId(Integer rspId) {
        this.rspId = rspId;
    }

    public AllUser getAllUser() {
        return this.allUser;
    }

    public void setAllUser(AllUser allUser) {
        this.allUser = allUser;
    }

    public String getRspName() {
        return this.rspName;
    }

    public void setRspName(String rspName) {
        this.rspName = rspName;
    }

    public String getRspDescription() {
        return this.rspDescription;
    }

    public void setRspDescription(String rspDescription) {
        this.rspDescription = rspDescription;
    }

    public Integer getRspVersion() {
        return this.rspVersion;
    }

    public void setRspVersion(Integer rspVersion) {
        this.rspVersion = rspVersion;
    }

    public Timestamp getRspCreateTime() {
        return this.rspCreateTime;
    }

    public void setRspCreateTime(Timestamp rspCreateTime) {
        this.rspCreateTime = rspCreateTime;
    }

    public Short getRspPublic() {
        return this.rspPublic;
    }

    public void setRspPublic(Short rspPublic) {
        this.rspPublic = rspPublic;
    }

    public Short getRspReleaseStatus() {
        return this.rspReleaseStatus;
    }

    public void setRspReleaseStatus(Short rspReleaseStatus) {
        this.rspReleaseStatus = rspReleaseStatus;
    }

    public String getRspProvider() {
        return this.rspProvider;
    }

    public void setRspProvider(String rspProvider) {
        this.rspProvider = rspProvider;
    }

    public String getRspFileUrl() {
        return this.rspFileUrl;
    }

    public void setRspFileUrl(String rspFileUrl) {
        this.rspFileUrl = rspFileUrl;
    }

    public Set getRules() {
        return this.rules;
    }

    public void setRules(Set rules) {
        this.rules = rules;
    }

}